<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<div class="panel-heading">
	<ul class="nav nav-tabs">
		<li class="active"><a href="#one" data-toggle="tab">班级信息</a></li>
		<li><a href="#two" data-toggle="tab">课时安排</a></li>
		<li><a href="#three" data-toggle="tab">学员名册</a></li>
		<li><a href="#four" data-toggle="tab">通知</a></li>
		<li><a href="#five" data-toggle="tab">资料</a></li>
		<li><a href="#six" data-toggle="tab">作业</a></li>
		<li><a href="#seven" data-toggle="tab">评价</a></li>
		<li><a href="#eight" data-toggle="tab">留言板</a></li>
	</ul>
</div>
<div class="panel-body">
	<div id="myTabContent" class="tab-content">
		<div class="tab-pane fade active in" id="one">
		<div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
	<div class="form-group">
        <label for="c-traintime" class="control-label col-xs-12 col-sm-2">{:__('Traintime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-traintime" class="form-control" name="row[traintime]" type="text" value="{$row.traintime|htmlentities}">
        </div>
    </div>
	<div class="form-group">
        <label for="c-category" class="control-label col-xs-12 col-sm-2">{:__('Category')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category" class="form-control" name="row[category]" type="text" value="{$row.category|htmlentities}">
        </div>
    </div>
	<div class="form-group">
        <label for="c-rules" class="control-label col-xs-12 col-sm-2">{:__('Rules')}:</label>
        <div class="col-xs-12 col-sm-8">
               <input id="c-rules" class="form-control" name="row[rules]" type="text" value="{$row.rules|htmlentities}">             
         </div>
    </div>
	<div class="form-group">
        <label for="c-typename" class="control-label col-xs-12 col-sm-2">{:__('Typename')}:</label>
        <div class="col-xs-12 col-sm-8">
			<select id="c-typename" class="form-control selectpicker" name="row[typename]">
                <option value="" >--请选择--</option>
				<option value="预设名册" >预设名册</option>
				<option value="非预设名册" >非预设名册</option>
            </select>
        </div>
    </div>
	<div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea name="row[content]" class="form-control" cols="30" rows="5" >{$row.content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
		</div>
		<div class="tab-pane fade in" id="two">
		  <div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">课程列表:</label>
        <div class="col-xs-12 col-sm-10">
			<dl class="fieldlist" data-template="content1tpl" data-name="row[content1]">
				<dd>
					<ins>{:__('课次日期')}</ins>
					<ins>{:__('课次时间')}</ins>
					<ins>{:__('课次主题')}</ins>
					<ins>{:__('上课教室')}</ins>
					<ins>{:__('定位选择')}</ins>
					<ins>{:__('教室模板')}</ins>
				</dd>
				<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
				<!--请注意 dd和textarea间不能存在其它任何元素，实际开发中textarea应该添加个hidden进行隐藏-->
				<textarea name="row[content1]" class="form-control" cols="30" rows="5" style="display:none">{$row.content1}</textarea>
			</dl>
			<script id="content1tpl" type="text/html">
				<dd class="form-inline">
					<ins><input type="text" name="<%=name%>[<%=index%>][title]" class="form-control" value="<%=row.title%>" placeholder="课次日期"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][intro]" class="form-control" value="<%=row.intro%>" placeholder="课次时间"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info01]" class="form-control" value="<%=row.info01%>" placeholder="课次主题"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info02]" class="form-control" value="<%=row.info02%>" placeholder="上课教室"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info03]" class="form-control" value="<%=row.info03%>" placeholder="定位选择"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info04]" class="form-control" value="<%=row.info04%>" placeholder="教室模板"/></ins>
					<!--下面的两个按钮务必保留-->
					<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
					<span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
				</dd>
			</script>
		</div>
    </div>
		</div>
		<div class="tab-pane fade in" id="three">
		  <div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">学员列表:</label>
        <div class="col-xs-12 col-sm-10">
			<dl class="fieldlist" data-template="content2tpl" data-name="row[content2]">
				<dd>
					<ins>{:__('进修编号')}</ins>
					<ins>{:__('手机号')}</ins>
					<ins>{:__('姓名')}</ins>
					<ins>{:__('学校')}</ins>
					<ins>{:__('职务')}</ins>
				</dd>
				<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
				<!--请注意 dd和textarea间不能存在其它任何元素，实际开发中textarea应该添加个hidden进行隐藏-->
				<textarea name="row[content2]" class="form-control" cols="30" rows="5" style="display:none">{$row.content2}</textarea>
			</dl>
			<script id="content2tpl" type="text/html">
				<dd class="form-inline">
					<ins><input type="text" name="<%=name%>[<%=index%>][title]" class="form-control" value="<%=row.title%>" placeholder="进修编号"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][intro]" class="form-control" value="<%=row.intro%>" placeholder="手机号"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info01]" class="form-control" value="<%=row.info01%>" placeholder="姓名"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info02]" class="form-control" value="<%=row.info02%>" placeholder="学校"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info03]" class="form-control" value="<%=row.info03%>" placeholder="职务"/></ins>
					<!--下面的两个按钮务必保留-->
					<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
					<span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
				</dd>
			</script>
		</div>
    </div>
		</div>
		<div class="tab-pane fade in" id="four">
		  <div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">通知:</label>
        <div class="col-xs-12 col-sm-10">
			<dl class="fieldlist" data-template="content3tpl" data-name="row[content3]">
				<dd>
					<ins>{:__('通告标题')}</ins>
					<ins>{:__('通告内容')}</ins>
					<ins>{:__('发布时间')}</ins>
				</dd>
				<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
				<!--请注意 dd和textarea间不能存在其它任何元素，实际开发中textarea应该添加个hidden进行隐藏-->
				<textarea name="row[content3]" class="form-control" cols="30" rows="5" style="display:none">{$row.content3}</textarea>
			</dl>
			<script id="content3tpl" type="text/html">
				<dd class="form-inline">
					<ins><input type="text" name="<%=name%>[<%=index%>][title]" class="form-control" value="<%=row.title%>" placeholder="通告标题"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][intro]" class="form-control" value="<%=row.intro%>" placeholder="通告内容"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info01]" class="form-control" value="<%=row.info01%>" placeholder="发布时间"/></ins>
					<!--下面的两个按钮务必保留-->
					<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
					<span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
				</dd>
			</script>
		</div>
    </div>
		</div>
		<div class="tab-pane fade in" id="five">
		  <div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">通知:</label>
        <div class="col-xs-12 col-sm-10">
			<dl class="fieldlist" data-template="content4tpl" data-name="row[content4]">
				<dd>
					<ins>{:__('资料主题')}</ins>
					<ins>{:__('内容')}</ins>
					<ins>{:__('发布时间')}</ins>
				</dd>
				<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
				<!--请注意 dd和textarea间不能存在其它任何元素，实际开发中textarea应该添加个hidden进行隐藏-->
				<textarea name="row[content4]" class="form-control" cols="30" rows="5" style="display:none">{$row.content4}</textarea>
			</dl>
			<script id="content4tpl" type="text/html">
				<dd class="form-inline">
					<ins><input type="text" name="<%=name%>[<%=index%>][title]" class="form-control" value="<%=row.title%>" placeholder="资料主题"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][intro]" class="form-control" value="<%=row.intro%>" placeholder="内容"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info01]" class="form-control" value="<%=row.info01%>" placeholder="发布时间"/></ins>
					<!--下面的两个按钮务必保留-->
					<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
					<span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
				</dd>
			</script>
		</div>
    </div>
		</div>
		<div class="tab-pane fade in" id="six">
		  <div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">作业:</label>
        <div class="col-xs-12 col-sm-10">
			<dl class="fieldlist" data-template="content5tpl" data-name="row[content5]">
				<dd>
					<ins>{:__('名称')}</ins>
					<ins>{:__('内容')}</ins>
					<ins>{:__('发布时间')}</ins>
				</dd>
				<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
				<!--请注意 dd和textarea间不能存在其它任何元素，实际开发中textarea应该添加个hidden进行隐藏-->
				<textarea name="row[content5]" class="form-control" cols="30" rows="5" style="display:none">{$row.content5}</textarea>
			</dl>
			<script id="content5tpl" type="text/html">
				<dd class="form-inline">
					<ins><input type="text" name="<%=name%>[<%=index%>][title]" class="form-control" value="<%=row.title%>" placeholder="名称"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][intro]" class="form-control" value="<%=row.intro%>" placeholder="内容"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info01]" class="form-control" value="<%=row.info01%>" placeholder="发布时间"/></ins>
					<!--下面的两个按钮务必保留-->
					<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
					<span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
				</dd>
			</script>
		</div>
    </div>
		</div>
		<div class="tab-pane fade in" id="seven">
		  <div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">评价:</label>
        <div class="col-xs-12 col-sm-10">
			<dl class="fieldlist" data-template="content6tpl" data-name="row[content6]">
				<dd>
					<ins>{:__('进修编号')}</ins>
					<ins>{:__('姓名')}</ins>
					<ins>{:__('评价表')}</ins>
				</dd>
				<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
				<!--请注意 dd和textarea间不能存在其它任何元素，实际开发中textarea应该添加个hidden进行隐藏-->
				<textarea name="row[content6]" class="form-control" cols="30" rows="5" style="display:none">{$row.content6}</textarea>
			</dl>
			<script id="content6tpl" type="text/html">
				<dd class="form-inline">
					<ins><input type="text" name="<%=name%>[<%=index%>][title]" class="form-control" value="<%=row.title%>" placeholder="进修编号"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][intro]" class="form-control" value="<%=row.intro%>" placeholder="姓名"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info01]" class="form-control" value="<%=row.info01%>" placeholder="评价表"/></ins>
					<!--下面的两个按钮务必保留-->
					<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
					<span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
				</dd>
			</script>
		</div>
    </div>
		</div>
		<div class="tab-pane fade in" id="eight">
		  <div class="form-group">
        <label for="c-gps" class="control-label col-xs-12 col-sm-2">评价:</label>
        <div class="col-xs-12 col-sm-10">
			<dl class="fieldlist" data-template="content7tpl" data-name="row[content7]">
				<dd>
					<ins>{:__('进修编号')}</ins>
					<ins>{:__('姓名')}</ins>
					<ins>{:__('留言内容')}</ins>
				</dd>
				<dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
				<!--请注意 dd和textarea间不能存在其它任何元素，实际开发中textarea应该添加个hidden进行隐藏-->
				<textarea name="row[content7]" class="form-control" cols="30" rows="5" style="display:none">{$row.content7}</textarea>
			</dl>
			<script id="content7tpl" type="text/html">
				<dd class="form-inline">
					<ins><input type="text" name="<%=name%>[<%=index%>][title]" class="form-control" value="<%=row.title%>" placeholder="进修编号"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][intro]" class="form-control" value="<%=row.intro%>" placeholder="姓名"/></ins>
					<ins><input type="text" name="<%=name%>[<%=index%>][info01]" class="form-control" value="<%=row.info01%>" placeholder="留言内容"/></ins>
					<!--下面的两个按钮务必保留-->
					<span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
					<span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
				</dd>
			</script>
		</div>
    </div>
		</div>
	</div>
</div>



	
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
<script>
    var nodeData = {:json_encode($nodeList); };
</script>
